import seq from './seq'
import './models/index'

(async () => {
  try {
    await seq.authenticate()
  } catch ( err ) {
    console.error('Unable to connect to the database:', err)
  }
})();

(async () => {
  await seq.sync({ alter: true })
})()
